<!--
   - Global template for your application
   - Don't change anything between marked delimiter |||dtd:tagName|||
   - Beyond you can add additional headers or/and xhtml structure
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" xmlns="http://www.w3.org/1999/xhtml">
	<xsl:output method="xml" omit-xml-declaration="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes" encoding="|||sls:getCharset|||" />

	<!-- Variable Builder -->
	|||sls:buildUrlVars|||
	<!-- /Variable Builder -->

	<!-- Generic include -->
	|||sls:includeActionFileBody|||
	|||sls:includeActionFileHeader|||
	|||sls:includeStaticsFiles|||
	<!-- /Generic include -->

	<xsl:template match="root">
		<html xml:lang="|||sls:getLanguage|||" lang="|||sls:getLanguage|||">
			<head>

				<!-- Generic headers loading -->
				|||sls:loadCoreHeaders|||
				|||sls:loadActionFileHeader|||
				<!-- /Generic headers loading -->
				<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, minimum-scale=1" />
				<link rel="stylesheet" type="text/css" href="{php:functionString('SLS_String::callCachingFile',concat($sls_url_css,'Global.css'))}" />
				<link rel="stylesheet" type="text/css" href="{php:functionString('SLS_String::callCachingFile',concat($sls_url_css,'Fonts.css'))}" />
				<link rel="stylesheet" type="text/css" href="{php:functionString('SLS_String::callCachingFile',concat($sls_url_css,'Tablet.css'))}"  media="all and (max-width: 960px)" />
				<link rel="stylesheet" type="text/css" href="{php:functionString('SLS_String::callCachingFile',concat($sls_url_css,'Mobile.css'))}" media="all and (max-width: 640px)" />
				<script type="text/javascript" src="{php:functionString('SLS_String::callCachingFile',concat($sls_url_js_dyn,'ImgLoader.js'))}"></script>
				<script type="text/javascript" src="{php:functionString('SLS_String::callCachingFile',concat($sls_url_js_dyn,'Nav.js'))}"></script>
				<script type="text/javascript" src="{php:functionString('SLS_String::callCachingFile',concat($sls_url_js_dyn,'HomeIndex.js'))}"></script>
				<script type="text/javascript" src="{php:functionString('SLS_String::callCachingFile',concat($sls_url_js_dyn,'HomeContact.js'))}"></script>
				<script type="text/javascript" src="{php:functionString('SLS_String::callCachingFile',concat($sls_url_js_dyn,'HomeProject.js'))}"></script>
				<script type="text/javascript" src="{php:functionString('SLS_String::callCachingFile',concat($sls_url_js_dyn,'Resize.js'))}"></script>
			</head>
			<body>
				<div id="global">
					<div id="prehome">
						<div class="loading">
							<div class="percent"></div>
							<div class="mask"></div>
						</div>
					</div>

					<div id="pages">
						<xsl:call-template name="Header" />

						<div id="contents">
							<div class="container">
								<!-- Generic bodies loading -->
								|||sls:loadActionFileBody|||
								|||sls:loadCoreBody|||
								<!-- /Generic bodies loading -->
								<div class="clear"></div>
							</div>
						</div>
					</div>
				</div>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>